/*
 * Created on July 23, 2007
 *
 * Copyright (c) Patrick Armstrong 2002-2007. All Rights Reserved.
 */
package org.dime.mine.game;

/**
 * BoardUtil // TODO Add type summary
 * 
 * @author Owner
 */
public class BoardUtil
{

    /*
     * 
     */
    private BoardUtil()
    {}

    public static boolean isValidLocation(Board board, int row, int column)
    {
        return row >= 0 && row < board.getRows() && column >= 0
                && column < board.getColumns();
    }
}
